import request from '@/utils/request'
import GLOBAL from '@/config/config';

export const getDistributionOrderPage = (data) => {
  return request({
    url: GLOBAL.MAIN_SERVER + '/order-center/fo/allocation/page',
    method: 'get',
    params: data
  })
}
export const checkOne = (data) => {
  return request({
    url: GLOBAL.MAIN_SERVER + '/order-center/fo/allocation/one',
    method: 'get',
    params: data
  })
}
export const getLogisticWorker = (data) => {
  return request({
    url: GLOBAL.MAIN_SERVER + '/order-center/fo/allocation/logisticWorker',
    method: 'get',
    params: data
  })
}
export const getListByRole = (data) => {
  return request({
    url: GLOBAL.MAIN_SERVER + '/system-center/system/user/listByRole',
    method: 'get',
    params: data
  })
}
